package com.erp.programmer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.erp.programmer.domain.ClientCompany;
import com.erp.programmer.dto.ClientCompanyDto;
import com.erp.programmer.dto.PageDto;
import com.erp.programmer.dto.ResponseDto;

import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Takagi3
 * @since 2021-05-23
 */
public interface IClientCompanyService extends IService<ClientCompany> {

    ResponseDto<List<ClientCompanyDto>> getData();
    ResponseDto<List<ClientCompanyDto>>  add(ClientCompanyDto clientCompanyDto);
    ResponseDto<List<ClientCompanyDto>>  delete(ClientCompanyDto clientCompanyDto);
    ResponseDto<List<ClientCompanyDto>>  edit(ClientCompanyDto clientCompanyDto);
    ResponseDto<List<ClientCompanyDto>>  search(ClientCompanyDto clientCompanyDto);

    ResponseDto<PageDto<ClientCompanyDto>> getAll(PageDto<ClientCompanyDto> pageDto);
    ResponseDto<PageDto<ClientCompanyDto>> saveClientCompany(ClientCompanyDto clientCompanyDto);
    ResponseDto<PageDto<ClientCompanyDto>> deleteClientCompany(ClientCompanyDto clientCompanyDto);
}
